package vip.xiaonuo.miniapp.api.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

@Data
@Accessors(chain = true)
@ApiModel(value = "内部员工录入")
public class MemberApiSaveVo {
    /**
     * 用户名
     */
    @ApiModelProperty(value = "用户名")
    @NotBlank
    private String name;

    /**
     * 组织id
     */
    @ApiModelProperty(value = "组织id")
    @NotNull
    private Long orgId;

    /**
     * 性别
     */
    @ApiModelProperty(value = "性别 男_1  女_2")
    private Integer sex;

    /**
     * 手机号
     */
    @ApiModelProperty(value = "手机号")
    @NotBlank
    private String tel;

    /**
     * 人脸比对照片
     */
    @ApiModelProperty(value = "人脸对比图片")
    private String photo;

    /**
     * 工号
     */
    @ApiModelProperty(value = "工号")
    @NotBlank
    private String jobNum;

    /**
     * 身份证号
     */
    @ApiModelProperty(value = "身份证号")
    private String idCard;

    /**
     * IC卡号
     */
    @ApiModelProperty(value = "IC卡号")
    private String icCard;


    @ApiModelProperty(value = "职位")
    private Long posId;


    @ApiModelProperty(value = "id 二次提交（修改时使用）")
    private Long id;
}
